<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>404 - 页面迷路了</title>
    <style>
        body {
            background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
            background-size: 400% 400%;
            animation: gradient 15s ease infinite;
            height: 100vh;
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            font-family: 'Arial', sans-serif;
            color: white;
            text-align: center;
            line-height: 1.6; /* 增加整体行距 */
        }
        
        @keyframes gradient {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        
        h1 {
            font-size: 8rem;
            margin: 0 0 10px 0; /* 调整标题下边距 */
            text-shadow: 3px 3px 0 rgba(0,0,0,0.1);
            animation: bounce 2s infinite;
        }
        
        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }
        
        .message-container {
            margin-bottom: 30px; /* 增加文本和按钮之间的间距 */
        }
        
        p {
            font-size: 1.5rem;
            max-width: 600px;
            margin: 10px 20px; /* 调整段落间距 */
        }
        
        .emoji {
            font-size: 5rem;
            margin-bottom: 20px;
        }
        
        .btn {
            background: white;
            color: #333;
            padding: 12px 25px; /* 稍微减小按钮尺寸 */
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            margin-top: 10px; /* 调整按钮上边距 */
            transition: all 0.3s;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            display: inline-block; /* 确保按钮单独一行 */
        }
        
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        }
        
        .spaceman {
            position: absolute;
            width: 150px;
            animation: float 10s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            25% { transform: translate(50px, -30px) rotate(5deg); }
            50% { transform: translate(0, -50px) rotate(0deg); }
            75% { transform: translate(-50px, -30px) rotate(-5deg); }
        }
    </style>
</head>
<body>
    <div class="emoji">👨‍🚀</div>
    <h1>404</h1>
    
    <div class="message-container">
        <p>哎呀！我们的宇航员把页面带到外太空去了...</p>
        <p>别担心，你可以返回首页</p>
    </div>
    
    <a href="/" class="btn">返回地球(首页)</a>
    
    <svg class="spaceman" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
        <circle cx="100" cy="80" r="40" fill="#FFF"/>
        <circle cx="85" cy="70" r="5" fill="#333"/>
        <circle cx="115" cy="70" r="5" fill="#333"/>
        <path d="M90 95 Q100 110 110 95" stroke="#333" stroke-width="2" fill="none"/>
        <rect x="70" y="120" width="60" height="30" rx="5" fill="#FFF"/>
        <rect x="80" y="150" width="15" height="30" rx="5" fill="#FFF"/>
        <rect x="105" y="150" width="15" height="30" rx="5" fill="#FFF"/>
        <circle cx="60" cy="80" r="15" fill="#FFF"/>
        <circle cx="140" cy="80" r="15" fill="#FFF"/>
    </svg>
</body>
</html>
